from classfile.attribute_info import AttributeInfo


class UnParsedAttribute(AttributeInfo):
    def __init__(self, name, length):
        super().__init__()
        self.name = name
        self.length = length
        self.info = ""

    def readInfo(self, clsReader):
        self.info = clsReader.readBytes(self.length)


